package com.smartfactory.sail.vo.cust;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.smartfactory.sail.entity.enums.CustContactStatusEnum;
import com.smartfactory.sail.entity.enums.SexEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 王巨壁
 * @title: ListContactsResp
 * @projectName smart-sail
 * @description: TODO
 * @date 2019/8/810:20
 */
@Data
public class ListContactsResp {


   /* ID("id", "序号"),
    USERNAME("userName", "姓名"),
    NAME("enterpriseName", "所在单位"),
    PHONE("phone", "联系方式"),
    SEX("sex", "性别"),
    HZSC("specification", "合作时长"),
    SCGHSJ("status", "上次关怀时间"),
    XCGHSJ("status", "下次关怀时间"),
    STATUS("status", "状态");
*/

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "联系姓名")
    @TableField("userName")
    private String userName;

    //单位名称
    @ApiModelProperty(value = "单位名称")
    private String enterpriseName;

    @ApiModelProperty(value = "客户id")
    private Long custId;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "联系人地址")
    private String addr;

    @ApiModelProperty(value = "性别1男2女")
    private SexEnum sex;

    @ApiModelProperty(value = "关怀周期天数")
    private Integer careCycle;

    @ApiModelProperty(value = "提前关怀天数")
    private Integer advanceDays;

    @ApiModelProperty(value = "上次关怀时间yyyy-MM-dd")
    private String lastTime;

    @ApiModelProperty(value = "下次关怀时间yyyy-MM-dd")
    private String nextTime;

    @ApiModelProperty(value = "合作时长")
    private String specification;

    @ApiModelProperty(value = "客户评价")
    private String evaluate;

    @ApiModelProperty(value = "合作状态1正常2取消关怀")
    private CustContactStatusEnum status;

    @ApiModelProperty(value = "客户联系方式: 联系方式,联系详情|联系方式,联系详情|")
    private String contactsInfo;

    @ApiModelProperty(value = "合作时间单位年")
    private Double cooperationDuration;
}
